package com.xjj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author GH
 * @date 2022/10/20 10:00
 */
@EnableRabbit
@EnableSwagger2
@EnableFeignClients
@SpringBootApplication
@ComponentScan(basePackages = "com.xjj.**")
@MapperScan(basePackages = "com.xjj.mapper")
public class VoteApplication {
    public static void main(String[] args) {
        SpringApplication.run(VoteApplication.class,args);
    }
}
